<div class="row-fluid">
    <div class="span12">
        <ul class="quick-actions-horizontal pull-right">
            <li>
                <a href="<?php echo Yii::app()->createAbsoluteUrl('category/admin');?>">
                    <i class="icon-plus"></i>
                    <span>Quản lý danh mục</span>
                </a>
            </li>
            <li>
                <a href="<?php echo Yii::app()->createAbsoluteUrl('category/create');?>">
                    <i class="icon-plus"></i>
                    <span>Thêm danh mục</span>
                </a>
            </li>
        </ul>
    </div>
</div>
<?php
/* @var $this CategoryController */
/* @var $model Category */

$this->breadcrumbs=array(
	'Categories'=>array('index'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'Thêm mới', 'url'=>array('create')),
	array('label'=>'Danh sách', 'url'=>array('admin')),
);
?>

<h4>Sửa <?php echo $model->name; ?></h4>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>